package com.celesea.workflow.core.v1.controller.resource;

import com.celesea.workflow.core.entity.WorkflowInstance;
import com.celesea.workflow.core.entity.WorkflowNodeAction;

import java.util.List;

/**
 * @author JackYuan
 * @create 2017-11-28 20:05
 */
public class FlowResource {
    private WorkflowInstance instance;
    private Object formData;
    private List<WorkflowNodeAction> actions;

    public WorkflowInstance getInstance() {
        return instance;
    }

    public void setInstance(WorkflowInstance instance) {
        this.instance = instance;
    }

    public Object getFormData() {
        return formData;
    }

    public void setFormData(Object formData) {
        this.formData = formData;
    }

    public List<WorkflowNodeAction> getActions() {
        return actions;
    }

    public void setActions(List<WorkflowNodeAction> actions) {
        this.actions = actions;
    }
}
